<div class="bjui-pageHeader" id="address_server_list_div">
    <form id="pagerForm" data-toggle="ajaxsearch" action="/addressServer/queryList" method="post">
        <div class="bjui-searchBar">

          <#--  <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);"
               data-icon="undo">清空查询</a>
            <div class="pull-right">
                <div class="btn-group">

                </div>
            </div>-->
            <div class="pull-right">
                <div class="btn-group">

                    <a href="/addressServer/update?id={#bjui-selected}" class="btn btn-blue" data-toggle="dialog"
                       data-id="sys_user_edit"
                       data-width="900" data-height="200"  data-mask="true" data-warn="请选择信息">
                        编辑
                    </a>

                    <a href="/addressServer/del?id={#bjui-selected}" data-confirm-msg="确定要删除选中项吗？" class="btn btn-red"
                       data-toggle="doajax" data-warn="请选择信息">
                        删除
                    </a>
                    <a href="/addressServer/add" class="btn btn-blue" data-toggle="dialog" data-id="address_server_add_div"
                       data-width="900" data-height="200" data-mask="true">
                        新增
                    </a>

                </div>
            </div>
        </div>

    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table data-toggle="tablefixed" data-width="50%" data-nowrap="true">
        <thead>
        <tr >
            <th width="20" data-order-field="operation">数据库名称</th>
            <th width="20" data-order-field="name">数据库ip</th>
            <th width="20" data-order-field="issueat">数据库端口</th>
            <th width="10" data-order-field="issueat">操作</th>
        </tr>
        </thead>
        <tbody>
        <#list pageInfo.list as bo>
            <tr data-id="${bo.id?c}">
                <td>${bo.addressName!""}</td>
                <td>${bo.addressId!""}</td>
                <td>${bo.addressPort?c}</td>
                <td>  <a href="/addressServer/publish?id=${bo.id?c}" class="btn btn-green" data-toggle="doajax"
                         data-confirm-msg="确定要同步表头数据吗" data-warn="请选择信息">
                        数据同步
                    </a>
                </td>
            </tr>
        </#list>
        </tbody>
    </table>
</div>
<#--
<div class="bjui-pageFooter">
    <div class="pages">
        <span>每页&nbsp;</span>
        <div class="selectPagesize">
            <select data-toggle="selectpicker" data-toggle-change="changepagesize" name="numPerPage">
                <option <#if pageInfo.pageSize==20> selected="selected" </#if> value="20" >20</option>
                <option <#if pageInfo.pageSize==50> selected="selected" </#if> value="50" >50</option>
                <option <#if pageInfo.pageSize==100> selected="selected" </#if>value="100" >100</option>
                <option <#if pageInfo.pageSize==200> selected="selected" </#if> value="200" >200</option>
            </select>
        </div>
        <span>&nbsp;条，共 ${pageInfo.total} 条</span>
    </div>

    <div class="pagination-box" data-toggle="pagination" data-total="${pageInfo.total}"
         data-page-size="${pageInfo.pageSize}" data-page-current="${pageInfo.pageNum}">
    </div>
</div>-->
